﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace Test.DAL.Abstracts.ApplicationFeature.Entities
{
    [SugarTable("eam_resource_types")]
    public class EAMResourceTypeEntity : FullAuditedEntity<Guid>, IMultiTenant
    {
        [SugarColumn(ColumnName = "Name", IsNullable = false, Length = 128)]
        public string Name { get; set; }
        [SugarColumn(ColumnName = "Code", IsNullable = false, Length = 64)]
        public string Code { get; set; }

        [SugarColumn(ColumnName = "TenantId", IsNullable = true, Length = 36)]
        public Guid? TenantId { get; set; }
    }
}
